package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车牌设备对象 zhmk_car
 * 
 * @author sxl
 * @date 2021-06-15
 */
public class ZhmkCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌ID */
    private Long carId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String carName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String carPosition;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String carIp;

    /** 端口号 */
    @Excel(name = "端口号")
    private String carPort;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 关联人员 */
    @Excel(name = "关联人员")
    private String relationUser;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    /**
     * 车辆进出类型
     */
    private String carInout;

    public void setCarId(Long carId) 
    {
        this.carId = carId;
    }

    public Long getCarId() 
    {
        return carId;
    }
    public void setCarName(String carName) 
    {
        this.carName = carName;
    }

    public String getCarName() 
    {
        return carName;
    }
    public void setCarPosition(String carPosition) 
    {
        this.carPosition = carPosition;
    }

    public String getCarPosition() 
    {
        return carPosition;
    }
    public void setCarIp(String carIp) 
    {
        this.carIp = carIp;
    }

    public String getCarIp() 
    {
        return carIp;
    }
    public void setCarPort(String carPort) 
    {
        this.carPort = carPort;
    }

    public String getCarPort() 
    {
        return carPort;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setRelationUser(String relationUser) 
    {
        this.relationUser = relationUser;
    }

    public String getRelationUser() 
    {
        return relationUser;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getCarInout() {
        return carInout;
    }

    public void setCarInout(String carInout) {
        this.carInout = carInout;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carName", getCarName())
            .append("carPosition", getCarPosition())
            .append("carIp", getCarIp())
            .append("carPort", getCarPort())
            .append("deviceId", getDeviceId())
            .append("status", getStatus())
            .append("relationUser", getRelationUser())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
